[@main]
#if
checkmarry alre
#act
goto @unmarry
#elseact
goto @marry

[@marry]
#say
<$USERNAME>,Welcome. If you wish to marry\
you have to be atleast 1 for a male and 1 for\
a female. I will also require a ring off you both.\
Please give it to the person who is going to ask me\
to wed you both.\
<I wish to be wed, what do i do/@marry1>\ \
<I am just looking/@exit>

[@marry1]
#if
gender man
#act
goto @man_marry
#elseact
goto @woman_marry

[@man_marry]
So you want to get married.
Please face your fiance and repeat these words.
I <$USERNAME>, wish to take you,(say name here) to be my wife.\
I will love and cherrish you.\
Trust and Devour you.\
<I am done/@man_marry1>\
<Forget it/@exit>\

[@woman_marry]
So you want to get married.
Please face your fiance and repeat these words.
I <$USERNAME>, wish to take you,(say name here) to be my wife.\
I will love and cherrish you.\
Trust and Devour you.\
<I am done/@woman_marry1>\
<Forget it/@exit>\

[@man_marry1]
#if
checklevel 1
#elseact
goto @level_error1
break

#if
checkmarry poin
#elseact
goto @place_error1
break

#if
checkmarry opelevel 1
#elseact
goto @level_error2
break

#if
checkmarry marriedl
#act
goto @marry_error
break

#if
#act
marry aski 
#say
Please repeat these words, and then wait for your partner\
to finish them to.\
\ \
I <$USERNAME>, wish to take you,(say name here) to be my wife.\
I will love and cherrish you.\
Trust and Devour you.\

#elsesay
You don't want to pay the money then?\
<Exit/@exit>

[@woman_marry1]
#if
checklevel 1
#elseact
goto @level_error1
break

#if
checkmarry poin
#elseact
goto @place_error1
break

#if
checkmarry opelevel 1
#elseact
goto @level_error2
break

#if
checkmarry marriedl
#act
goto @marry_error
break

#if
#act
marry aski
#say
Please repeat these words, and then wait for your partner\
to finish them to.\
\ \
I <$USERNAME>, wish to take you,(say name here) to be my wife.\
I will love and cherrish you.\
Trust and Devour you.\
#elsesay
You don't want to pay the money then?\
<Exit/@exit>

[@level_error1]
#say
Sorry, you cannot marry at that level yet.
<Exit/@exit>

[@level_error2]
#say
Your partner needs to level up first.
<Exit/@exit>

[@marry_error]
#say
Sorry, your partner is already married\
<Exit/@exit>

[@place_error1]
#say
If you want to marry each other you must first face\
each other.\
<Exit/@exit>

[@agree_marry]
#if
checkmarry sure
#say
Congratulations, you are now husband and wife.\
<Thanks You/@exit>
#act
marry sure
#elsesay
You can't marry each other for some reason, sorry.\
<Exit/@exit>

[@unmarry]
#say
<$USERNAME> Welcome back I remember you!\
Are you still happy with your partner?...\ \ \
<Im fine, but i must go/@exit>\ \
<No actually, we want a divorce/@unmarry1>

[@unmarry1]
#if
gender man
#act
goto @man_unmarry
#elseact
goto @woman_unmarry
[@man_unmarry]
#say
Sorry to hear you want a divorce.\
You must accept this agreement first.\
If your wifes agree's to you will be free.\
<Sure i accept/@unmarry2>\
<No.I dont want to leave her/@exit>

[@woman_unmarry]
#say
Sorry to hear you want a divorce
You must accept this agreement first.\
If your Husband agree's to you will be free.\
<Sure i accept/@unmarry2>\
<No.I dont want to leave him/@exit>

[@unmarry2]
#if
checkmarry poin
#elseact
goto @place_error2
break

#if
checkmarry hanw
#say
You just have to wait for your partner to agree aswell\
now.
#act
marry disw

#elsesay
Congratulations, you are no longer husband and wife
<Exit/@exit>

[@agree_unmarry]
#if
checkmarry hanw
#act
marry diso
#elsesay
You can't marry each other for some reason.
<Exit/@exit>

[@place_error2]
#SAY
You need to face each other first.\
<My partner hasnt been here for a long time/@unmarry3>\ \
<Never mind/@exit>

[@unmarry3]
#if
gender man
#say
Ok, if you want to do it now i will tell her about it when\
i see her.\
<Thankyou/@unmarry4>\ \
<I better wait for my wife to come/@exit>
#elsesay
Ok, if you want to do it now i will tell him about it when\
i see her.\
<Thankyou/@unmarry4>\ \
<I better wait for my husband to come/@exit>

[@unmarry4]
#if
#act
marry diso
#say
Ok, you are now divorced
#elsesay
You must pay for this.\
<Exit/@exit>